package projects.jnurse.ioc.core;

import org.objectweb.asm.AnnotationVisitor;

/**
 * Created by Adil Naji.
 * User: XP-170708
 * Date: 16 nov. 2008
 * Time: 02:51:46
 */
public class IocFieldAnnotationVisitor implements AnnotationVisitor {

    public void visit(String s, Object o) {
        System.out.println(s);
        //if ("by".equals(s))
            AnnotationScanner.instance().aliasToResolve = (String) o;
        //To change body of implemented methods use File | Settings | File Templates.
    }

    public void visitEnum(String s, String s1, String s2) {

    }

    public AnnotationVisitor visitAnnotation(String s, String s1) {
        return null;
    }

    public AnnotationVisitor visitArray(String s) {
        return null;
    }

    public void visitEnd() {
        System.out.println("end");
        //To change body of implemented methods use File | Settings | File Templates.
    }
}
